package com.smasher.update.component.download.sys

data class DownloadInfo(

    val status: Int = 0,
    val title: String? = null,
    val description: String? = null,
    val uri: String? = null,
    val localUri: String? = null,
    val mediaType: String? = null,
    val reason: String? = null,
    val id: Long = 0,
    val totalSize: Long = 0,
    val downloaded: Long = 0,
    val lastModifiedTimestamp: Long = 0

) {
    override fun toString(): String {
        return "DownloadInfo{" +
                "status=" + status +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", uri='" + uri + '\'' +
                ", localUri='" + localUri + '\'' +
                ", mediaType='" + mediaType + '\'' +
                ", reason='" + reason + '\'' +
                ", id=" + id +
                ", totalSize=" + totalSize +
                ", downloaded=" + downloaded +
                ", lastModifiedTimestamp=" + lastModifiedTimestamp +
                '}'
    }
}
